﻿@model ejunkey.Models.Product

@{
    ViewBag.Title = "PRODUCT CONFIGURATION";
}
<h1 style="color: red;">Please not change checkbox value...</h1>
@using (Html.BeginForm(FormMethod.Post))
{
    @Html.ValidationSummary(true)
<div style="float: left; width: 50%;">
    <div>
        <h2>PRODUCT CONFIGURATION</h2>
        <p>
             <div>
                <b>@Html.LabelFor(model => model.ProductName)</b>
                @Html.EditorFor(model => model.ProductName)
                @Html.ValidationMessageFor(model => model.ProductName)
            </div> 
        </p>
        <p>
            <b>Select your product's requerements:</b><br />
                  
     
            <div>
                @Html.EditorFor(model => model.IsSingleFile)
                @Html.ValidationMessageFor(model => model.IsSingleFile)
                @Html.LabelFor(model => model.IsSingleFile)
            </div>             
            <div>
                @Html.EditorFor(model => model.IsRedirection)
                @Html.ValidationMessageFor(model => model.IsRedirection)
                @Html.LabelFor(model => model.IsRedirection)
            </div>
            <div>
                @Html.EditorFor(model => model.IsStoreCode)
                @Html.ValidationMessageFor(model => model.IsStoreCode)
                @Html.LabelFor(model => model.IsStoreCode)

                @Html.EditorFor(model => model.IsGenCode)
                @Html.ValidationMessageFor(model => model.IsGenCode)
                @Html.LabelFor(model => model.IsGenCode)
            </div>

            <div>
                @Html.EditorFor(model => model.IsAffectOrtherProducts)
                @Html.ValidationMessageFor(model => model.IsAffectOrtherProducts)
                @Html.LabelFor(model => model.IsAffectOrtherProducts)
            </div>
            <div>
                @Html.EditorFor(model => model.IsInventoryControl)
                @Html.ValidationMessageFor(model => model.IsInventoryControl)
                @Html.LabelFor(model => model.IsInventoryControl)
            </div>
            <div>
                @Html.EditorFor(model => model.IsTaxVAT)
                @Html.ValidationMessageFor(model => model.IsTaxVAT)
                @Html.LabelFor(model => model.IsTaxVAT)

                @Html.EditorFor(model => model.IsShipOrBuyerAddress)
                @Html.ValidationMessageFor(model => model.IsShipOrBuyerAddress)
                @Html.LabelFor(model => model.IsShipOrBuyerAddress)
            </div>
            <div>
                @Html.EditorFor(model => model.IsEditQuantity)
                @Html.ValidationMessageFor(model => model.IsEditQuantity)
                @Html.LabelFor(model => model.IsEditQuantity)
            </div>
            <div>
                @Html.EditorFor(model => model.IsEditPrice)
                @Html.ValidationMessageFor(model => model.IsEditPrice)
                @Html.LabelFor(model => model.IsEditPrice)
            </div>
            <div>
                @Html.EditorFor(model => model.IsVariants)
                @Html.ValidationMessageFor(model => model.IsVariants)
                @Html.LabelFor(model => model.IsVariants)
            </div>
            <div>
                @Html.EditorFor(model => model.IsVariations)
                @Html.ValidationMessageFor(model => model.IsVariations)
                @Html.LabelFor(model => model.IsVariations)
            </div>
            <div>
                @Html.EditorFor(model => model.IsSendTransaction)
                @Html.ValidationMessageFor(model => model.IsSendTransaction)
                @Html.LabelFor(model => model.IsSendTransaction)
            </div>
        </p>
        <p>
            <div>
                <b>@Html.LabelFor(model => model.Price)</b>
                @Html.EditorFor(model => model.Price)
                @Html.ValidationMessageFor(model => model.Price)
                $USD
            </div> 
        </p>
    </div>
</div>
<div style="float: right; width: 50%;">
    <div>
        <h2>OPTIONAL SETTINGS</h2>
        <p> 
            <b>@Html.LabelFor(model => model.EmailSubject)</b>
            @Html.EditorFor(model => model.EmailSubject)
            @Html.ValidationMessageFor(model => model.EmailSubject)</p>
        <p>
            <b>@Html.LabelFor(model => model.EmailMessage)</b> <br />
            @Html.EditorFor(model => model.EmailMessage)
            @Html.ValidationMessageFor(model => model.EmailMessage)  <br />
            An email containing above message will be sent to the buyer 
            along with the <b>greeting</b> (including <b>Buyer's first name</b>) and
            if applicable: <b>download link, expiration limit</b> and <b>registration code</b>.
        </p>
        <br />
        <p>
            <div>
                @Html.EditorFor(model => model.IsReceiveCopy)
                @Html.ValidationMessageFor(model => model.IsReceiveCopy)
                @Html.LabelFor(model => model.IsReceiveCopy)
            </div>
            <div>
                @Html.EditorFor(model => model.IsEnableTemplateEmail)
                @Html.ValidationMessageFor(model => model.IsEnableTemplateEmail)
                @Html.LabelFor(model => model.IsEnableTemplateEmail)
                <b>(more info...)</b>
            </div>
        </p>
        <br />
        <p>
            <div>
                @Html.LabelFor(model => model.ItemNumber)
                @Html.EditorFor(model => model.ItemNumber)
                @Html.ValidationMessageFor(model => model.ItemNumber)                
            </div>
        </p>
        <br />
        <p>
            <b>OPTIONAL</b> - If your product does not have a specific item number, please leave this field blank.
        </p>
        <br />
        <p>
            <b>NOTE:</b> You will be shown the option to upload the file once you have added your product.
        </p>
    </div>
    <div style="float: right;" >
        <br />
        <input type="button" value="BACK"  onclick="parent.location='@Url.Action("Index","Seller")'"/>
        <input type="submit" value="SUBMIT" name="action:SubmitProductConfiguration" />
        <input type="submit" value="MORE OPTIONS" name="action:MoreOptions"/>
    </div>
</div>
}
    